﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteRequireLogin.Master" AutoEventWireup="true" CodeBehind="The-Extracare-Chua-Kich-Hoat.aspx.cs" Inherits="TranTekBE.NhaThuoc.The_Extracare_Chua_Kich_Hoat" %>

<%@ Register Src="~/NhaThuoc/MenuNhaThuoc.ascx" TagPrefix="uc1" TagName="MenuNhaThuoc" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="BodyContent" runat="server">
    <div id="extracare" style="margin-top: 60px; position: absolute;">
        <uc1:MenuNhaThuoc runat="server" ID="MenuNhaThuoc" />
        <div style="border: 1px solid #000; padding-top: 10px; padding-left: 5px; margin-bottom: 10px">

            
            <asp:TextBox ID="txt_sdt" runat="server" Width="200px" AutoPostBack="true" placeholder="Nhập số điện thoại" OnTextChanged="txt_sdt_TextChanged"></asp:TextBox>

            <asp:DropDownList ID="droplist_cua_hang_loc_kq" runat="server" AutoPostBack="true" OnSelectedIndexChanged="droplist_cua_hang_loc_kq_SelectedIndexChanged">
            </asp:DropDownList>

            <asp:Button ID="btnLoc" runat="server" Text="LỌC" OnClick="btnLoc_Click" Style="width: 50px; height: 30px; margin-top: 0px;margin-left:30px" />
            <asp:Button ID="btnAll" runat="server" Text="XEM TẤT CẢ" OnClick="btnAll_Click" Style="width: 150px; height: 30px; margin-top: 0px;margin-left:30px" />

            <table class="table table-striped table-framed table-centered" style="width: 1024px; margin-top: 10px;" border="0">
                <thead>
                    <tr>
                        <th style="width: 20px">STT.</th>
                        <th style="width: 350px">Khách Hàng</th>
                        <th style="width: 250px">Mã Số Thẻ</th>
                        <th style="width: 250px">Số Điện Thoại</th>
                        <th style="width: 150px">Cửa Hàng Làm Thẻ</th>
                    </tr>

                </thead>
                <tbody>
                    <asp:Repeater ID="rpExtracare" runat="server">
                        <ItemTemplate>
                            <tr style="<%# ThuVien.FunctionsUtils.CSS_RowInTable(Container.ItemIndex,"#FFFFE0","#D7E3F2") %>">
                                <td class="tdGrid tdCenterM"><%# Container.ItemIndex + 1 %></td>
                                <td style="width: 350px" class="tdGrid tdCenterM">
                                    <%# Eval("KhachHang") %>
                                </td>
                                <td class="tdGrid tdCenterM">
                                    <%# ThuVien.FunctionsUtils.ConvertTheExtracare(Eval("MaSoThe")) %>
                                </td>
                                <td class="tdGrid tdCenterM"><%# ThuVien.FunctionsUtils.ConvertSDT(Eval("SDT"))%></td>
                                <td class="tdGrid tdCenterM"><%# Eval("CuaHang") %></td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                    <div style="overflow: hidden">Trang...

                        <asp:Repeater ID="rptPages" runat="server"
                            OnItemCommand="rptPages_ItemCommand">

                            <ItemTemplate>

                                <asp:LinkButton ID="btnPage"
                                    Style="padding: 1px 3px; margin: 1px; background: #ccc; border: solid 1px #666; font: 8pt tahoma;"
                                    CommandName="Page" CommandArgument="<%# Container.DataItem %>"
                                    runat="server"><%# Container.DataItem %>

                                </asp:LinkButton>

                            </ItemTemplate>

                        </asp:Repeater>

                    </div>
                </tbody>
            </table>
        </div>
    </div>
</asp:Content>
